package com.xbongbong.saas.model.team;

import com.xbongbong.saas.domain.entity.CommonVisibleRangeTeamEntity;
import com.xbongbong.saas.domain.entity.UserAndDepTeamEntity;
import com.xbongbong.saas.domain.entity.UserTeamEntity;

import java.util.List;
import java.util.Map;

/**
 * @author 李翔
 * @date 2022/11/10
 * @description
 */
public interface UserAndDepTeamModel {
    List<UserAndDepTeamEntity> findBaseEntitys(Map<String, Object> param, String table);

    List<CommonVisibleRangeTeamEntity> findEntitys(Map<String, Object> param, String table);

    CommonVisibleRangeTeamEntity getByKey(Long key, String corpid, String table);

    Integer deleteByKey(Long key, String corpid, String table);

}
